package com.stu.Pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class DePartment {
    private Long id;
    private  String  sn;
    private String name;
    private  String dirpath;
    private  Integer state;
    private  Long manager_id;
    private  Long parent_id;
    private  Employee manager;
    private  DePartment parent;
    /*
    * 部门id
    * 部门编号
    * 部门名称
    * 部门的上级分类层级
    * 部门状态
    * 部门管理员
    * 上级部门
    * */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    List<DePartment> Children;

}
